VIVE 3DSP Native C Library  ver 1.0.0.0
Audio 3DSP (3D Sound Perception) Native C Library
vive_3dsp_api.h
Go to the documentation of this file.
1 //========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
5 #pragma once
6 #include "audio_engine.h"
7 #include "room.h"
8 #include "occlusion.h"
9 #include "ambisonic_decoder.h"
10 #include "parametric_eq.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15  namespace HTC_Vive3DSP_SDK {
16 
19  unsigned int major;
20  unsigned int minor;
21  unsigned int build;
22  unsigned int revision;
23  };
24 
34  vive_3dsp_audiofx_get_version(VIVE_3DSP_Version *ver);
44  vive_3dsp_get_version(VIVE_3DSP_Version *ver);
45 
46 
47  /*****************************************************************************************************************/
48  /* Audio listener */
49  /*****************************************************************************************************************/
50 
61  vive_3dsp_listener_set_position(vive_3dsp_context *api, VIVE_3DSP_Vector3 pos);
73  vive_3dsp_listener_set_rotation_euler(vive_3dsp_context *api, VIVE_3DSP_Vector3 euler);
84  vive_3dsp_listener_set_rotation(vive_3dsp_context *api, VIVE_3DSP_Quaternion quat);
95  vive_3dsp_listener_set_gain(vive_3dsp_context *api, float gain);
97 
107  vive_3dsp_listener_set_current_room(vive_3dsp_context *api, vive_3dsp_room *room);
117  vive_3dsp_listener_leave_room(vive_3dsp_context *api);
119 
129  vive_3dsp_listener_set_headset(vive_3dsp_context *api, VIVE_3DSP_HEADSET_MODEL headset);
130  }
131 
132 #ifdef __cplusplus
133 }
134 #endif
unsigned int revision
Definition: vive_3dsp_api.h:22
Definition: audio_engine.h:158
Definition: audio_engine.h:144
VIVE_3DSP_API_STATUS
Definition: audio_engine.h:25
#define VIVE_3DSP_API_DLLEXPORT
Definition: audio_engine.h:6
unsigned int major
Definition: vive_3dsp_api.h:19
VIVE_3DSP_HEADSET_MODEL
Definition: audio_engine.h:117
The vive_3dsp_context structure represents the overall audio engine of 3D sound model.
Definition: vive_3dsp_api.h:15
unsigned int minor
Definition: vive_3dsp_api.h:20
The vive_3dsp_room structure represents the 3D room model, including the reflection and reverberation...
unsigned int build
Definition: vive_3dsp_api.h:21
Definition: vive_3dsp_api.h:18